function init() {
	var APP_ID = 'qbtrnXMwoqETwRmqGI7K6jbl-gzGzoHsz';//app id
	var APP_KEY = '2uBPKQ83O6k86tLiDHBqAifl';//app key
	AV.init({
		appId: APP_ID,
		appKey: APP_KEY
	});
	//管理員登陸
}
function geturlitem(url, name) {//解析url里的关键字
	urlstart = url.indexOf(name + "=");
	if(urlstart != -1) {
		urlstart = urlstart + name.length + 1;
		urlend = url.indexOf("&", urlstart);
		if(urlend == -1) urlend = url.length + 1;
		return url.substring(urlstart, urlend);
	}
	return "";
}

function set(url){//转字符
 return encodeURI(url);
}

function get(url){ //转回来
 return decodeURI(url);
}